﻿<Window x:Class="trail_WPF_applicaiton.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="725" Width="1025"
        Loaded="WindowLoaded" Closing="WindowClosing">
    <Grid>
        <DockPanel 
  Width="Auto" 
  VerticalAlignment="Stretch" 
  Height="Auto" 
  HorizontalAlignment="Stretch" 
  Grid.ColumnSpan="1" 
  Grid.Column="0" 
  Grid.Row="0" 
  Margin="0,0,0,0" 
  Grid.RowSpan="1">
            <StackPanel Width="246">
                <StackPanel.Background>
                    <LinearGradientBrush>
                        <GradientStop Color="White" Offset="0"/>
                        <GradientStop Color="DarkKhaki" Offset=".3"/>
                        <GradientStop Color="DarkKhaki" Offset=".7"/>
                        <GradientStop Color="White" Offset="1"/>
                    </LinearGradientBrush>
                </StackPanel.Background>
                <StackPanel Margin="10">
                    <Button 
     Name="simpleButton" 
     Click="simpleButtonClick">Far Mode</Button>
                    <TextBlock>Camera Position</TextBlock>
                    <TextBox Name="cameraPositionXTextBox"></TextBox>
                    <TextBox Name="cameraPositionYTextBox"></TextBox>
                    <TextBox Name="cameraPositionZTextBox"></TextBox>
                    <TextBlock>Loot At Position</TextBlock>
                    <TextBox Name="lookAtXTextBox"></TextBox>
                    <TextBox Name="lookAtYTextBox"></TextBox>
                    <TextBox Name="lookAtZTextBox"></TextBox>
                    <Button 
     Name="SetCameraB" 
     Click="SetCameraButton">Set Camera</Button>
                    <Button Name= "Record_position_button" Click="Record_position_button_Click_1">Record Skeleton Pos</Button>
                    <Button Name= "Sim_Start" Click="Sim_Start_Click_1">Start Sim</Button>
                    <Button Name= "StartDraw" Click="Draw_Click">Draw</Button>
                </StackPanel>
                <TextBlock Height="195" x:Name="Log_data" Text="Test_ashok" Width="243" Margin="2,0" />
            </StackPanel>
            <Viewport3D Name="mainViewport" ClipToBounds="True">
                <Viewport3D.Camera>
                    <PerspectiveCamera 
	  FarPlaneDistance="100"
	  LookDirection="0,0,2"
	  UpDirection="0,1,0"
	  NearPlaneDistance="1" 
	  Position="0,0,0" 
	  FieldOfView="70" />
                </Viewport3D.Camera>
                <ModelVisual3D>
                    <ModelVisual3D.Content>
                        <DirectionalLight 
	    Color="White" 
	    Direction="-2,-3,-1" />
                    </ModelVisual3D.Content>
                </ModelVisual3D>
            </Viewport3D>
        </DockPanel>
    </Grid>
</Window>
